package com.indusfo.spc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;

/**
 * @Author liub
 * @Date 2019/11/25 10:35
 * @Version 1.0
 */
public class MatRepairFlow extends BasePojo {

    /**
     * 维修流程产品流程对应ID
     */
    private Integer matRepairFlowId;
    /**
     * 产品流程ID
     */
    private Integer matFlowId;
    /**
     * 维修流程D
     */
    private Integer matRepairId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    /**
     * 说明
     */
    private String remark;
    /**
     * 数据状态
     */
    private Integer dataState;

    /*                                              新增字段                                        */
    /**
     * 排序
     */
    private Integer serialNum;
    /**
     * 物料版本ID
     */
    private Integer matVerId;
    /**
     * 工序ID
     */
    private Integer proId;
    /**
     * 工序名称
     */
    private String proName;
    /**
     * 是否并序
     */
    private Integer sequence;
    /**
     * 上工序
     */
    private String risePro;
    /**
     * 下工序
     */
    private String nextPro;
    /**
     * 工序类型ID
     */
    private Integer proTypeId;
    /**
     * 工序类型名称
     */
    private String proTypeName;

    private Integer orderRepairId;

    private Integer orderFlowId;

    public Integer getOrderFlowId() {
        return orderFlowId;
    }

    public void setOrderFlowId(Integer orderFlowId) {
        this.orderFlowId = orderFlowId;
    }

    public Integer getOrderRepairId() {
        return orderRepairId;
    }

    public void setOrderRepairId(Integer orderRepairId) {
        this.orderRepairId = orderRepairId;
    }

    public Integer getMatRepairFlowId() {
        return matRepairFlowId;
    }

    public void setMatRepairFlowId(Integer matRepairFlowId) {
        this.matRepairFlowId = matRepairFlowId;
    }

    public Integer getMatFlowId() {
        return matFlowId;
    }

    public void setMatFlowId(Integer matFlowId) {
        this.matFlowId = matFlowId;
    }

    public Integer getMatRepairId() {
        return matRepairId;
    }

    public void setMatRepairId(Integer matRepairId) {
        this.matRepairId = matRepairId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public Integer getSerialNum() {
        return serialNum;
    }

    public void setSerialNum(Integer serialNum) {
        this.serialNum = serialNum;
    }

    public Integer getMatVerId() {
        return matVerId;
    }

    public void setMatVerId(Integer matVerId) {
        this.matVerId = matVerId;
    }

    public Integer getProId() {
        return proId;
    }

    public void setProId(Integer proId) {
        this.proId = proId;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public String getRisePro() {
        return risePro;
    }

    public void setRisePro(String risePro) {
        this.risePro = risePro;
    }

    public String getNextPro() {
        return nextPro;
    }

    public void setNextPro(String nextPro) {
        this.nextPro = nextPro;
    }

    public Integer getProTypeId() {
        return proTypeId;
    }

    public void setProTypeId(Integer proTypeId) {
        this.proTypeId = proTypeId;
    }

    public String getProTypeName() {
        return proTypeName;
    }

    public void setProTypeName(String proTypeName) {
        this.proTypeName = proTypeName;
    }
}